package com.zye.dao;

import com.zye.entity.Student;

import java.util.List;

public interface StudentDAO {
    List<Student> selectAllStudents();

    List<Student> selectStudentByWord(String word);

    Student selectStudentById(int id);

    void insertStudent(Student student);

    void updateStudentById(Student student);

    void deleteStudentById(int id);
}
